package Test3;

class C{
     int b=10;
}
public class Test extends C{

    public static void main(String[] args) {
        final int a=10;
      eat("张三");
      C p= new Test();
        System.out.println(p.b);
    }
    public static final void eat(String name) {
        System.out.println(name+" 在吃饭");
    }
}
